<?php
/**
 * Created by PhpStorm.
 * User: 陈鸿
 * Date: 2016/5/19
 * Time: 15:24
 */
return [
    'codeUrl'        => 'https://open.weixin.qq.com/connect/qrconnect',
    'accessTokenUrl' => 'https://api.weixin.qq.com/sns/oauth2/access_token',
    'refreshTokenUrl'=> 'https://api.weixin.qq.com/sns/oauth2/refresh_token',

    'redirect_uri'   => 'https://passport.yhd.com/wechat/callback.do',
    'app' => [
        'appId'        => 'wxbdc5610cc59c1631',
        'AppSecret'    => 'AppSecret',
    ],
];

$config = [
    'token' => [
        'token'  => 'cgi-bin/token',
        'oauth2' => 'sns/oauth2/access_token'
    ],
    'menu' => [
        'create' => 'cgi-bin/menu/create'
    ]
];

//公众号
$conf = [
    'https://api.weixin.qq.com/cgi-bin/token',
    'https://api.weixin.qq.com/cgi-bin/getcallbackip',
    //菜单
    'https://api.weixin.qq.com/cgi-bin/menu/create',
    'https://api.weixin.qq.com/cgi-bin/menu/get',
    'https://api.weixin.qq.com/cgi-bin/menu/delete',
    //个性化菜单
    'https://api.weixin.qq.com/cgi-bin/menu/addconditional',
    'https://api.weixin.qq.com/cgi-bin/menu/delconditional',
    'https://api.weixin.qq.com/cgi-bin/menu/trymatch',
    //获取自定义菜单配置接口
    'https://api.weixin.qq.com/cgi-bin/get_current_selfmenu_info',
    //客服消息
    'https://api.weixin.qq.com/customservice/kfaccount/add',
    'https://api.weixin.qq.com/customservice/kfaccount/update',
    'https://api.weixin.qq.com/customservice/kfaccount/del',
    'http://api.weixin.qq.com/customservice/kfaccount/uploadheadimg',
    'https://api.weixin.qq.com/cgi-bin/customservice/getkflist',
    'https://api.weixin.qq.com/cgi-bin/message/custom/send',
    //高级群发接口
    'https://api.weixin.qq.com/cgi-bin/media/uploadimg',
    'https://api.weixin.qq.com/cgi-bin/media/uploadnews',
    'https://api.weixin.qq.com/cgi-bin/message/mass/sendall',
    'https://api.weixin.qq.com/cgi-bin/message/mass/send',
    'https://api.weixin.qq.com/cgi-bin/message/mass/delete',
    //预览接口【订阅号与服务号认证后均可用】
    'https://api.weixin.qq.com/cgi-bin/message/mass/preview',
    'https://api.weixin.qq.com/cgi-bin/message/mass/get',
    //模板消息接口
    'https://api.weixin.qq.com/cgi-bin/template/api_set_industry',
    'https://api.weixin.qq.com/cgi-bin/template/get_industry',
    'https://api.weixin.qq.com/cgi-bin/template/api_add_template',
    'https://api.weixin.qq.com/cgi-bin/template/get_all_private_template',
    'https://api,weixin.qq.com/cgi-bin/template/del_private_template',
    'https://api.weixin.qq.com/cgi-bin/message/template/send',
    //获取公众号的自动回复规则
    'https://api.weixin.qq.com/cgi-bin/get_current_autoreply_info',
    //微信网页授权
    'https://open.weixin.qq.com/connect/oauth2/authorize',
    'https://api.weixin.qq.com/sns/oauth2/access_token',
    'https://api.weixin.qq.com/sns/oauth2/refresh_token',
    'https://api.weixin.qq.com/sns/userinfo',
    'https://api.weixin.qq.com/sns/auth',
    //素材管理
    'https://api.weixin.qq.com/cgi-bin/media/upload',
    'https://api.weixin.qq.com/cgi-bin/media/get',
    'https://api.weixin.qq.com/cgi-bin/material/add_news',
    'https://api.weixin.qq.com/cgi-bin/media/uploadimg',
    'https://api.weixin.qq.com/cgi-bin/material/add_material',
    'https://api.weixin.qq.com/cgi-bin/material/get_material',
    'https://api.weixin.qq.com/cgi-bin/material/del_material',
    'https://api.weixin.qq.com/cgi-bin/material/update_news',
    'https://api.weixin.qq.com/cgi-bin/material/get_materialcount',
    'https://api.weixin.qq.com/cgi-bin/material/batchget_material',
    //用户管理
    //用户标签管理
    'https://api.weixin.qq.com/cgi-bin/tags/create',
    'https://api.weixin.qq.com/cgi-bin/tags/get',
    'https://api.weixin.qq.com/cgi-bin/tags/update',
    'https://api.weixin.qq.com/cgi-bin/tags/delete',
    'https://api.weixin.qq.com/cgi-bin/user/tag/get',
    'https://api.weixin.qq.com/cgi-bin/tags/members/batchtagging',
    'https://api.weixin.qq.com/cgi-bin/tags/members/batchuntagging',
    'https://api.weixin.qq.com/cgi-bin/tags/getidlist',
    //设置用户备注名
    'https://api.weixin.qq.com/cgi-bin/user/info/updateremark',
    //获取用户基本信息(UnionID机制)
    'https://api.weixin.qq.com/cgi-bin/user/info',
    'https://api.weixin.qq.com/cgi-bin/user/info/batchget',
    'https://api.weixin.qq.com/cgi-bin/user/get',
    //账号管理
    'https://api.weixin.qq.com/cgi-bin/qrcode/create',
    'https://mp.weixin.qq.com/cgi-bin/showqrcode',
    'https://api.weixin.qq.com/cgi-bin/shorturl',
    //数据统计
    'https://api.weixin.qq.com/datacube/getusersummary',
    'https://api.weixin.qq.com/datacube/getusercumulate',
    //微信卡券
    'https://api.weixin.qq.com/card/create',
    'https://api.weixin.qq.com/card/paycell/set',
    'https://api.weixin.qq.com/card/selfconsumecell/set',
    //创建二维码接口
    'https://api.weixin.qq.com/card/qrcode/create',
    'https://api.weixin.qq.com/card/landingpage/create',
    'http://api.weixin.qq.com/card/code/deposit',
    'http://api.weixin.qq.com/card/code/getdepositcount',
    'http://api.weixin.qq.com/card/code/checkcode',
    'https://api.weixin.qq.com/card/mpnews/gethtml',
    'https://api.weixin.qq.com/card/testwhitelist/set',
    //核销卡卷
    'https://api.weixin.qq.com/card/code/get',
    'https://api.weixin.qq.com/card/code/consume',
    'https://api.weixin.qq.com/card/code/decrypt',
    //管理卡劵
    'https://api.weixin.qq.com/card/user/getcardlist',
    'https://api.weixin.qq.com/card/get',
    'https://api.weixin.qq.com/card/batchget',
    'https://api.weixin.qq.com/card/update',
    'https://api.weixin.qq.com/card/modifystock',
    'https://api.weixin.qq.com/card/code/update',
    'https://api.weixin.qq.com/card/delete',
    'https://api.weixin.qq.com/card/code/unavailable',
    'https://api.weixin.qq.com/datacube/getcardbizuininfo',
    'https://api.weixin.qq.com/datacube/getcardcardinfo',
    'https://api.weixin.qq.com/datacube/getcardmembercardinfo',
    //会员卡专区
    'https://api.weixin.qq.com/card/create',
    'https://api.weixin.qq.com/card/membercard/activate',
    'https://api.weixin.qq.com/card/membercard/activateuserform/set',
    'https://api.weixin.qq.com/card/membercard/userinfo/get',
    'https://api.weixin.qq.com/card/membercard/updateuser',
    'https://api.weixin.qq.com/card/membercard/userinfo/get',
    'https://api.weixin.qq.com/card/paygiftmembercard/add',
    'https://api.weixin.qq.com/card/paygiftmembercard/delete',
    //创建朋友的券接口
    'https://api.weixin.qq.com/card/create',
    'https://api.weixin.qq.com/card/pay/activate',
    'https://api.weixin.qq.com/card/pay/getpayprice',
    'https://api.weixin.qq.com/card/pay/getcoinsinfo',
    'https://api.weixin.qq.com/card/pay/confirm',
    'https://api.weixin.qq.com/card/pay/recharge',
    'https://api.weixin.qq.com/card/pay/getorder',
    'https://api.weixin.qq.com/card/pay/getorderlist',
    'https://api.weixin.qq.com/cgi-bin/ticket/getticket',
    'https://api.weixin.qq.com/card/code/mark',
    'https://api.weixin.qq.com/card/code/consume',
    //第三方开发者模式
    'https://api.weixin.qq.com/card/submerchant/submit',
    'https://api.weixin.qq.com/card/getapplyprotocol',
    'https://api.weixin.qq.com/card/submerchant/update',
    'https://api.weixin.qq.com/card/submerchant/get',
    'https://api.weixin.qq.com/card/submerchant/batchget',
    'https://api.weixin.qq.com/card/create',
    'http://api.weixin.qq.com/cgi-bin/component/upload_card_agent_qualification',
    'http://api.weixin.qq.com/cgi-bin/component/check_card_agent_qualification',
    'http://api.weixin.qq.com/cgi-bin/component/upload_card_merchant_qualification',
    'http://api.weixin.qq.com/cgi-bin/component/check_card_merchant_qualification',
    'https://api.weixin.qq.com/cgi-bin/media/upload',
    'https://api.weixin.qq.com/card/getapplyprotocol',
    'http://api.weixin.qq.com/cgi-bin/component/get_card_merchant',
    'http://api.weixin.qq.com/cgi-bin/component/batchget_card_merchant',
    'https://api.weixin.qq.com/cgi-bin/component/api_query_auth',
    'https://api.weixin.qq.com/cgi-bin/component/api_confirm_authorization',
    'https://api.weixin.qq.com/cgi-bin/component/api_get_authorizer_info',
    //微信门店接口
    'http://api.weixin.qq.com/cgi-bin/poi/addpoi',
    'http://api.weixin.qq.com/cgi-bin/poi/getpoi',
    'https://api.weixin.qq.com/cgi-bin/poi/getpoilist',
    'https://api.weixin.qq.com/cgi-bin/poi/updatepoi',
    'https://api.weixin.qq.com/cgi-bin/poi/delpoi',
    'http://api.weixin.qq.com/cgi-bin/poi/getwxcategory',
    //微信小店管理
    'https://api.weixin.qq.com/semantic/semproxy/search',
    //客服管理
    'https://api.weixin.qq.com/cgi-bin/customservice/getonlinekflist',
    'https://api.weixin.qq.com/customservice/kfsession/create',
    'https://api.weixin.qq.com/customservice/kfsession/close',
    'https://api.weixin.qq.com/customservice/kfsession/getsession',
    'https://api.weixin.qq.com/customservice/kfsession/getsessionlist',
    'https://api.weixin.qq.com/customservice/kfsession/getwaitcase',
    'https://api.weixin.qq.com/customservice/msgrecord/getrecord',
    'https://api.weixin.qq.com/customservice/kfaccount/inviteworker',
    'https://api.weixin.qq.com/customservice/kfaccount/uploadheadimg',
    //微信摇一摇
    'https://api.weixin.qq.com/shakearound/account/register',
    'https://api.weixin.qq.com/shakearound/account/auditstatus',
    'https://api.weixin.qq.com/shakearound/device/applyid',
    'https://api.weixin.qq.com/shakearound/device/applystatus',
    'https://api.weixin.qq.com/shakearound/device/update',
    'https://api.weixin.qq.com/shakearound/device/bindlocation',
    'https://api.weixin.qq.com/shakearound/device/search',
    'https://api.weixin.qq.com/shakearound/page/add',
    'https://api.weixin.qq.com/shakearound/page/update',
    'https://api.weixin.qq.com/shakearound/page/search',
    'https://api.weixin.qq.com/shakearound/page/delete',
    'https://api.weixin.qq.com/shakearound/material/add',
    'https://api.weixin.qq.com/shakearound/device/bindpage',
    'https://api.weixin.qq.com/shakearound/relation/search',
    'https://api.weixin.qq.com/shakearound/statistics/device',
    'https://api.weixin.qq.com/shakearound/statistics/devicelist',
    'https://api.weixin.qq.com/shakearound/statistics/page',
    'https://api.weixin.qq.com/shakearound/statistics/pagelist',
    'https://api.weixin.qq.com/shakearound/device/group/add',
    'https://api.weixin.qq.com/shakearound/device/group/update',
    'https://api.weixin.qq.com/shakearound/device/group/delete',
    'https://api.weixin.qq.com/shakearound/device/group/getlist',
    'https://api.weixin.qq.com/shakearound/device/group/getdetail',
    'https://api.weixin.qq.com/shakearound/device/group/adddevice',
    'https://api.weixin.qq.com/shakearound/device/group/deletedevice',
    'https://api.weixin.qq.com/shakearound/user/getshakeinfo',
    'https://api.mch.weixin.qq.com/mmpaymkttransfers/hbpreorder',
    'https://api.weixin.qq.com/shakearound/lottery/addlotteryinfo',
    'https://api.weixin.qq.com/shakearound/lottery/setprizebucket',
    'https://api.weixin.qq.com/shakearound/lottery/setlotteryswitch',
    'https://api.weixin.qq.com/shakearound/lottery/querylottery',
    //微信连 WI-FI（暂时为空）

    //微信扫一扫
    'https://api.weixin.qq.com/scan/merchantinfo/get',
    'https://api.weixin.qq.com/scan/product/create',
    'https://api.weixin.qq.com/scan/product/modstatus',
    'https://api.weixin.qq.com/scan/testwhitelist/set',
    'https://api.weixin.qq.com/scan/product/modstatus',
    'https://api.weixin.qq.com/scan/product/get',
    'https://api.weixin.qq.com/scan/product/getlist',
    'https://api.weixin.qq.com/scan/product/update',
    'https://api.weixin.qq.com/scan/product/clear',
    'http://p.url.cn/wxscandemo/yangbanjian/fangweilanding',
    'https://api.weixin.qq.com/scan/scanticket/check',
];